#-------------------------------------------------
#
# Project created by QtCreator 2016-11-28T10:36:09
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT       += xml network

TRANSLATIONS += menuDelEnglishLan.ts

TARGET = HomeMenuDelegate
TEMPLATE = lib

DEFINES += HOMEMENUDELEGATE_LIBRARY

SOURCES += homemenudelegate.cpp \
    systemcmddelegate.cpp

HEADERS += homemenudelegate.h\
        homemenudelegate_global.h \
    systemcmddelegate.h

INCLUDEPATH += ../FileGeneralManagement
INCLUDEPATH += ../WeldSettingView
INCLUDEPATH += ../CommunicateDelegate
INCLUDEPATH += ../ProgramSet
INCLUDEPATH += ../ProgramLanguageTranslate
INCLUDEPATH += ../../include/MacroDefine

unix {
    target.path = /usr/lib
    INSTALLS += target
}

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS

LIBS += -L../../lib/x86_WINDOWS -lHomeMenuView
LIBS += -L../../lib/x86_WINDOWS -lHmiCommunicate
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86

LIBS     += -L../../lib/x86 -lDomParser
INCLUDEPATH += ../FileManage
LIBS += -L../../lib/x86 -FileManage


#编译目录
UI_DIR += ../../build/tmphmi/x86_linux
MOC_DIR += ../../build/tmphmi/x86_linux
OBJECTS_DIR += ../../build/tmphmi/x86_linux
RCC_DIR  += ../../build/tmphmi/x86_linux
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm

LIBS     += -L../../lib/arm -lDomParser



#编译目录
UI_DIR += ../../build/tmphmi_arm
MOC_DIR += ../../build/tmphmi_arm
OBJECTS_DIR += ../../build/tmphmi_arm
RCC_DIR  += ../../build/tmphmi_arm
}


